package com.gz.domain;

public class Bank {
    private int id;
    private int score;

    public Bank() {//一定要给一个无参构造器，因为底层可能用到反射
    }

    public Bank(int id, int score) {
        this.id = id;
        this.score = score;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Bank{" +
                "id=" + id +
                ", score=" + score +
                '}';
    }
}
